 When you add this to your map you need to add 1 to the number of the numChannels so If your number is 13 you need to make that number 14 . It's always got to be 1 more than the fruits you have. You have to add these at the end of each section.  Go all the way down each section and look for the last line of each and add the lines I suppied


 <FoliageMultiLayer densityMapId="27" numChannels="13" numTypeIndexChannels="4" useVertexBufferPool="true">
<File fileId= "   "  "" ""    " "" "
<File fileId="10085" filename="textures/foliage/foliage_corn_cut_short_diffuse.png" relativePath="true"/>
    <File fileId="10084" filename="textures/foliage/foliage_corn_diffuse.png" relativePath="true"/>
    <File fileId="10086" filename="textures/foliage/foliage_corn_windrow_diffuse.png" relativePath="true"/>
 </Files>  -------------       this is how you should have it  just before this line


 <Material name="cornCutShortMaterial" materialId="10089" ambientColor="1 1 1" customShaderId="36">
      <Texture fileId="10085"/>
      <CustomParameter name="alphaBlendStartEnd" value="70 75 0 0"/>
    </Material>
<Material name="cornWindrowMaterial" materialId="10679" ambientColor="1 1 1" customShaderId="36">
      <Texture fileId="10086"/>
      <CustomParameter name="alphaBlendStartEnd" value="70 75 0 0"/>
    </Material>
<Material name="cornMaterial" materialId="10143" ambientColor="1 1 1" customShaderId="34">
      <Texture fileId="10084"/>
      <CustomParameter name="alphaBlendStartEnd" value="70 75 0 0"/>
    </Material>
</Materials>  -------- put the materials  just above this line

<FoliageSubLayer name="corn" densityMapTypeIndex="12" densityMapChannelOffset="4" numDensityMapChannels="3" materialId="10143" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="28;45;46;47;48" distanceMapUnitSizes="128;128;128;128;128" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1" width="3.7" height="3.5" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.005" growthNumStates="5" growthStateTime="900000"/>
          <FoliageSubLayer name="corn_cut_short" densityMapTypeIndex="12" densityMapChannelOffset="7" numDensityMapChannels="1" materialId="10089" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1" width="1.5" height="0.7" widthVariance="0" heightVariance="0.04" horizontalPositionVariance="0.005"/>
          <FoliageSubLayer name="corn_windrow" densityMapTypeIndex="12" densityMapChannelOffset="10" numDensityMapChannels="2" materialId="10679" cellSize="8" viewDistance="150" terrainOffset="0" objectMask="65520" distanceColors="0.611765 0.494118 0.227451;0.611765 0.494118 0.227451;0.611765 0.494118 0.227451" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1.6" width="1.6" height="1" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.005"/>
 </FoliageMultiLayer>  ---------   all of the foliageSublayer goes above this line